package com.xayy.health.mgt.model;

import cn.kawins.mybatis.base.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author zhangxa
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "HEALTH.tb_model_train_accuracy")
@EqualsAndHashCode(callSuper = true)
public class ModelTrainAccuracy extends BaseModel<Long> {

    @Id
    @ApiModelProperty(value = "id")
    @Column(name = "id")
    private Long id;

    @ApiModelProperty(value = "卫星代号")
    @Column(name = "sate_code")
    private String sateCode;

    @ApiModelProperty(value = "参数")
    @Column(name = "param_code")
    private String paramCode;

    @ApiModelProperty(value = "类型")
    @Column(name = "value_type")
    private String valueType;

    @ApiModelProperty(value = "准确度值")
    @Column(name = "value")
    private String value;

    @ApiModelProperty(value = "时间")
    @Column(name = "time")
    private String time;

    @Column(name = "model_train_record_id")
    private String modelTrainRecordId;


    @Override
    public Long idValue() {
        return id;
    }


}
